<template>
  <div class="header">
    <div class="headerLogo">
      <img class="logo" src="@/assets/images/Home/indexLogo.png" alt="恒巨教育">
      <img class="honorary" src="@/assets/images/Home/honoraryLogo.png" alt="恒巨教育">
    </div>
      <span
        class="iconfont headerIcon"
        @click="handelHeaderIconClick"
      >&#xe6b3;</span>
  <sing-in ref="SingIn"></sing-in>
  </div>
</template>

<script>
import SingIn from './SingIn'
export default {
  name: 'HomeHeader',
  components: {
    SingIn
  },
  methods: {
    handelHeaderIconClick () {
      this.$refs.SingIn.showSingIn()
    }
  }
}
</script>

<style lang="stylus" scoped>
  .header
    display flex
    height .88rem
    line-height .88rem
    .headerLogo
      flex 1
      .logo
        width 2.2rem
        margin 0 .4rem 0 .24rem
      .honorary
        width 2.72rem
    .headerIcon
      font-size .52rem
      padding 0 .2rem
      color #333
</style>
